<div class="container_12">
    <div class="grid_4">
        <h1><a href="<?= base_url(); ?>"></a></h1>
    </div>
    <div class="grid_8">
        <div class="box_of_nav">
            <ul>
                <li class="fleft"><a href="#" class="inline-block reg">help</a></li>
                <li class="fleft"><a href="#" class="inline-block reg">site map</a></li>
                <li class="fleft"><a href="#" class="inline-block reg">Terms</a></li>
                <li class="fleft"><a href="<?= base_url(); ?>cms/page/privacy-policy/4" class="inline-block reg">Policy</a></li>
                <li class="fleft"><a href="#" class="inline-block reg">contacts</a></li>
                <li class="fleft"><a href="#" class="inline-block reg">Rss</a></li>                        
            </ul>
            <div class="clear"></div>
        </div>
        <div class="box_of_fb">
            <ul>
                <li class="fleft"><a href="<?= base_url(); ?>sale/car" class="inline-block register">Sale Car!</a></li>  
                <li class="fleft"><a href="#" class="inline-block register">Sale MotorCycle!</a></li>                            	
            </ul>
            <div class="clear"></div>
        </div>
    </div>
</div>
<div class="clear"></div>
<div class="box_of_links">
    <a href="#">Buying</a>
    <a href="#">Selling</a>
    <a href="#">Finance</a>
    <a href="#">Insurance</a>
    <a href="#">News and Reviews</a>
    <a href="#">Support</a>

    <!-- MEMBER -->

    <?php if ($this->session->userdata('mem_email')) { ?>
        <div style="float: right">
            <span style="color: white">Welcome, <?= $this->session->userdata('mem_fname'); ?>&nbsp;<?= $this->session->userdata('mem_lname'); ?></span> | &nbsp; 
            <a href="<?= base_url(); ?>member/myaccount">My Account</a> | &nbsp; 
            <a href="<?= base_url(); ?>member/logout">Logout</a>
        </div>
    <?php } else { ?>
        <div style="float: right">
            <a href="<?= base_url(); ?>member/register/new_member/1">Register Now ! </a> | &nbsp; 
            <a href="<?= base_url(); ?>member/login">Login</a>
        </div>
    <?php } ?>    

</div><!--LINKS -->
<nav>
    <ul class="sf-menu sf-js-enabled">
        <li class="current"><a href="<?= base_url(); ?>">HOME</a></li>
        <li> <a href="<?= base_url(); ?>search/go/CAR/NEW">SEARCH NEW</a> </li>
        <li> <a href="<?= base_url(); ?>search/go/CAR/USED">SEARCH USED</a> </li>
        <li> <a href="<?= base_url(); ?>sale/car">SALE CAR</a></li>
        <li> <a href="<?= base_url(); ?>emi">EMI CALCULATOR</a> </li>
        <li> <a href="<?= base_url(); ?>member/car/post_requirement">POST REQUIREMENT</a></li>
    </ul>
    <div class="clear"></div>
</nav>

<!--
<li class="">
            <a href="#">RESEARCH</a>
            <ul style="display: none; visibility: hidden; ">
                <li><a href="#">CAR RESEARCH</a></li>
                <li><a href="#">MOTORCYCLE RESEARCH</a></li>
            </ul>
        </li>
-->